package com.example.nonacademic_education.data.response;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
@Data
@ContentRowHeight(30)
//@Accessors(chain = true)
public class ProjectImportDto {
    @ExcelProperty("项目名称")
    @ColumnWidth(15)
    private String name;//培训项目名
    @ExcelProperty("办学单位")
    @ColumnWidth(15)
    private String departmentName;//所属培训机构Id
    @ExcelProperty("立项年度")
    @ColumnWidth(15)
    private Integer year;//培训年度
    @ExcelProperty("负责人")
    @ColumnWidth(15)
    private String adminName;//二级管理员Id
    @ExcelProperty("项目联系人姓名(非必填)")
    @ColumnWidth(15)
    private String contactName;
    @ExcelProperty("项目联系人电话(非必填)")
    @ColumnWidth(15)
    private String contactPhone;
    @ExcelProperty("开始时间")
    @ColumnWidth(20)
    private String startDateString;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ExcelIgnore
    private Date startDate;
    @ExcelProperty("结束时间")
    @ColumnWidth(20)
    private String endDateString;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ExcelIgnore
    private Date endDate;
    @ExcelProperty("办学方式")
    @ColumnWidth(15)
    private String establishType;
    @ExcelProperty("办学地点")
    @ColumnWidth(20)
    private String establishAddress;
    @ExcelProperty("收费标准(元/人/天)")
    @ColumnWidth(15)
    private String charge;
    @ExcelProperty("学费总额(万元)")
    @ColumnWidth(15)
    private String tuitionFee;
    @ExcelProperty("培训人数")
    @ColumnWidth(15)
    private String trainingNum;
    @ExcelProperty("合作方名称")
    @ColumnWidth(30)
    private String cooperation;
    @ExcelProperty("备注")
    private String note;//备注信息
}
